﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Smalt.DomainModels.Models;

namespace Smalt.DomainModels.Base
{
    public abstract class UserPartyBase
    {
        // Many-to-many relationship fields
        [Key, Column(Order = 0)]
        public string UserId { get; set; }
        public virtual ApplicationUser User { get; set; }

        // Additional Fields
        public bool IsLeader { get; set; }

        public bool IsContributer { get; set; }

        public bool IsReader { get; set; }
    }
}
